package GateKeeper;

import javax.swing.*;

import General.GraphicsSetting;

public class ChoiceApiPanel extends JPanel
{
	private JButton buttonApiTeacher, buttonApiManager;
	
	public ChoiceApiPanel()
	{
		//Layout
		this.setLayout(null);
				
		creationComponent();
		showComponent();
	}
	
	public void creationComponent()
	{
		buttonApiTeacher = new JButton("Teacher Zone");
		buttonApiTeacher.setBounds(79, 75, 200, 25);
		
		buttonApiManager = new JButton("Manager Zone");
		buttonApiManager.setBounds(79, 110, 200, 25);
	}
	
	public void showComponent()
	{
		add(buttonApiTeacher);
		add(buttonApiManager);
		
		GraphicsSetting.setBackground(this, "image/Background-GK.png", 0, 0, 366, 540);
	}
	
	public JButton getButtonApiTeacher(){return buttonApiTeacher;}
	public JButton getButtonApiManager(){return buttonApiManager;}
}
